PLAT-6848 Add RegexUtils globToPattern

Move useful utility from Integration to Utils.