Revision: 38453
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 3, 2011 12:47 by inko9nito
Initial Code
(\*)+([^.*?$]+)+(\*)
Initial URL
http://rubular.com/r/73UNIqgDuO
Initial Description
Matches text between each pair of asterisks (see URL above for demo) **Example:** Make text between asterisks bold, like in Textile (in Ruby): `test.gsub(/(\*)+([^.*?$]+)+(\*)/, '<strong>\\2</strong>')`
Initial Title
Match text between asterisks
Initial Tags
regex, replace, ruby
Initial Language
Regular Expression