Regex hack to indent your UPROPERTY / UFUNCTION decarations!

I recently proposed in VAX forums to implement indentation of UPROPERTY / UFUNCTION decaration variables and functions.
The proposal seems to be added to the list for consideration, but in addition the guys there told me how to do a regex search and replace to fix your indentation.

Basically just type your code and do not indent anything manually, when you’re done editing code just hit CTRL +F and search replace with regex:
Find - [FONT=Courier New]^( ]+)((UFUNCTION|UPROPERTY)(.*)
( ])+(\w)
Replace - [FONT=Courier New]$1$2

Original thread is here