Which RegEx pattern convention is used for Replace action in Shortcuts

I am Trying to understand the Replace action regulars expression usage. where i would like to replace spaces.

Which RegEx pattern convention is used for Replace action in Shortcuts
 
 
Q