It is currently May 6th, 2024, 11:42 am

How to make Substitute ignore case?

Get help with creating, editing & fixing problems with skins
ffrreeaakk
Posts: 4
Joined: August 21st, 2011, 6:24 pm

How to make Substitute ignore case?

Post by ffrreeaakk »

I'm using webparser with

Code: Select all

Substitute="asdf":"OK"
How do I make it replace "AsDf" and "asDF"?
Manual doesn't mention anything about case sensitivity.
Is there a simple solution or do I have to use RegExpSubstitute?
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: How to make Substitute ignore case?

Post by jsmorley »

Yes, you will need to use a regular expression:

RegExpSubstitute=1
Substitute="(?i)asdf":"OK"