Profile
Achievement
inko9nito's Recent Snippets
- All /
« Prev 1 Next »
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>')`
0
1481
posted 13 years ago by inko9nito