Hi,
I'm trying to do a find and replace using Dreamweaver CS4 and am having an issue with what I assume to be a basic Regular Expression.
In my website I have the following two lines of text used throughout:
call today on XXXXXX
call on XXXXXX
I want to replace the 'XXXXXX' section with a number (e.g. 123) but using the following Regular Expression in the 'Find' box within Dreamweaver I'm only able to find the 'call today on XXXXXX' text...
How can I find all sentences that match the above (i.e. 'call today on XXXXXX' and 'call on XXXXXX') but have the word 'today' as optional?Code:call (today)? on XXXXXX
Also what would I need to add into Dreamweaver's 'Replace' box to change the XXXXXX?
I assume it would be something like...
Any help appreciated.Code:call $1 on 123
Kind regards,
M.







Bookmarks