Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2020-12-07 10:12
Flavor·ECMAScript (JavaScript)

/
(\w)\^(\d)
/
gm
Open regex in editor

Description

When you want to parse a litteral math expression with power in and you want e^x to be e**x Use this regex!

Submitted by anonymous