Regex Replace A Variable Within Brackets, Including Brackets -


how rid of variable within square brackets, including brackets themselves? e.g. [152] or [153] or [154]. using yahoo pipes.

you can escape brackets (like other character special meaning) \.

s/\[\d+\]/replacement/ 

in yahoo pipes should work like: replace \[.+\] with (leave blank). maybe have check g flag.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -