Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

202
Vistas
Is there any way to validate emojis without using regex with an unicode flag?

(:

I'm working on some input validation with js and one of the criteria is that the user is not allowed to input emojis.

This is the code that I was using originally is:

emojiValidation: function (userInput) {
   if (new RegExp("\\p{Extended_Pictographic}", 'u').test(userInput)) {
      return true;

   }
   
   return false;

This function is being called from a js file but the application is built using asp.net

The problem I'm facing is that IE does not recognise the Unicode flag, so is there an IE-friendly way to detect emojis?

IE console error

Thank you!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda