How to match car only, and not carbonate ?
brakkar - June 14, 2009 - 18:20
| Project: | Flexifilter |
| Version: | 6.x-1.1-rc2 |
| Component: | Code - Misc |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I want to replace any text "car", but problem is that it will also replace any text containing car, like carbonate.
I use a regex text replace, but what should I put to limit its work to "car" only ?
Thanks,
Brakkar

#1
Did you try using a pattern matching like
car$?#2
If that doesn't work, the alternative is to use a pattern matching like
car[ \.;].