Regular Expressions and/or "if/then/else" logic in
Posted: Fri Apr 15, 2005 5:29 am
Hello,
Is there a way to use if/then/else logic and regular expressions for doing find/replace in WordPipePro?
Here's an example of what I'm trying to do:
I need to replace the URLs in some hyperlinks. Currently, they look like this:
HYPERLINK "/main/groups/agencywide/documents/pub/dhs_id_999999.hcsp",
and
HYPERLINK "/main/groups/agencywide/documents/pub/dhs_id_000000.pdf"
Thanks!
Dan in MN (dan dot ballek at state dot mn dot us)
I need them to look like this:
HYPERLINK "javascript:link('id_999999')",
and
HYPERLINK "javascript:download('id_000000')"
I just downloaded the eval version of EasyPattern, and already own WordPipePro. Is it possible to do this with these two tools? If so, how do you do it?
Is there a way to use if/then/else logic and regular expressions for doing find/replace in WordPipePro?
Here's an example of what I'm trying to do:
I need to replace the URLs in some hyperlinks. Currently, they look like this:
HYPERLINK "/main/groups/agencywide/documents/pub/dhs_id_999999.hcsp",
and
HYPERLINK "/main/groups/agencywide/documents/pub/dhs_id_000000.pdf"
Thanks!
Dan in MN (dan dot ballek at state dot mn dot us)
I need them to look like this:
HYPERLINK "javascript:link('id_999999')",
and
HYPERLINK "javascript:download('id_000000')"
I just downloaded the eval version of EasyPattern, and already own WordPipePro. Is it possible to do this with these two tools? If so, how do you do it?